import java.util.Arrays;
import java.util.Collections;


public class Leetcode462 {
    public static void main(String[] args) {
        Integer a=null;
        System.out.println(a+1);
    }
    public int minMoves2(int[] nums) {
        Arrays.sort(nums);
        return Arrays.stream(nums).map(i -> Math.abs(i - nums[nums.length / 2])).sum();
    }
}
